package dao;

import java.sql.Timestamp;

/**
 * AbstractContest entity provides the base persistence definition of the
 * Contest entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractContest implements java.io.Serializable {

	// Fields

	private Integer contestId;
	private String title;
	private Timestamp startTime;
	private Timestamp endTime;
	private Short defunct;
	private String description;
	private Short private_;

	// Constructors

	/** default constructor */
	public AbstractContest() {
	}

	/** minimal constructor */
	public AbstractContest(Integer contestId, Short defunct, Short private_) {
		this.contestId = contestId;
		this.defunct = defunct;
		this.private_ = private_;
	}

	/** full constructor */
	public AbstractContest(Integer contestId, String title,
			Timestamp startTime, Timestamp endTime, Short defunct,
			String description, Short private_) {
		this.contestId = contestId;
		this.title = title;
		this.startTime = startTime;
		this.endTime = endTime;
		this.defunct = defunct;
		this.description = description;
		this.private_ = private_;
	}

	// Property accessors

	public Integer getContestId() {
		return this.contestId;
	}

	public void setContestId(Integer contestId) {
		this.contestId = contestId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Timestamp getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	public Timestamp getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public Short getDefunct() {
		return this.defunct;
	}

	public void setDefunct(Short defunct) {
		this.defunct = defunct;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Short getPrivate_() {
		return this.private_;
	}

	public void setPrivate_(Short private_) {
		this.private_ = private_;
	}

}